/*
 * ProjectManager.h
 *
 *  Created on: 2013-2-3
 *      Author: Dspark
 */

#ifndef PROJECTMANAGER_H_
#define PROJECTMANAGER_H_
#include "ProjectCreator.h"
class ProjectManager : public QWidget{
	Q_OBJECT
public:
	ProjectManager(User& u);
	virtual ~ProjectManager();

protected Q_SLOTS:
	void slt_addProject();
	void slt_refresh();
	void slt_modifyProject();
protected:
	void loadData();
	QVBoxLayout layout;
	QTableView tab;
	QStandardItemModel projects;
	User& user;
	QPushButton  bt_create,bt_modify;
};

#endif /* PROJECTMANAGER_H_ */
